package com.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.common.Result;
import com.chen.entity.User;
import com.chen.vo.UserPasswordDTO;

/**
 * @author chenchao
 * @date 2022/7/17 18:45
 */
public interface LoginService extends IService<User> {

//    登录
    Result login(User user);

//    邮箱注册
    User loginEmail(User user);

//    发送邮箱
    void sendEmail(String email);

//    忘记密码
Result updatePassword(UserPasswordDTO userPasswordDTO);

}
